#pragma once
template < class T >
/**
* Class Node
* Just the basic class for representing a Node in the linked list.
* Node contains some info, maybe an int, and a pointer to the next node in the list.
*/
class Node
{
public:

	T info;
	Node<T> *next;

	/**
	* Just a basic constructor
	*/
	Node(void)
	{
		next = nullptr;
	}

	/**
	* A constructor with a parameter to set its initial info.
	*/

	Node( T info )
	{
		this->info = info;
		next = nullptr;
	}

	~Node(void)
	{
	}

	friend bool operator==( Node<T> &lop, Node<T> &hop )
	{
		if( lop.info == hop.info )
			return true;
		return false;
	}
};

